﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>OneWorldCollege</title>
    <meta name="description" content="An open market for learning. [%UTablename%]s and students wanted!" />
    <link type="text/css" href="/a/css/jquery-ui-1.8.5.custom.css" rel="stylesheet" />	
    <link href="/a/css/uniform.default.css" rel="stylesheet" type="text/css" />
 
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js"></script>
	<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.min.js"></script>
    <script src="/a/js/jquery.uniform.min.js" type="text/javascript"></script> 
    <script src="/a/js/CharCount.js" type="text/javascript"></script>
    <script src="/a/js/js.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            

            $.validator.methods.example = function(value, element, param) {
		        return value != $(element).attr('title');
	        };

             $("#[%utablename%]_Form").validate({
                    errorElement: "span",
                    errorContainer: $("#errors"),
                    errorPlacement: function(error, element) {
                        element.closest("li").addClass("error");
                        element.after(error);  
                    },
                    success: function(label) {
                         label.removeClass("error").closest("li").removeClass("error");
                    },
                    rules: {
                        [%rules%]
                        placeholder: { required: false }
                    }
             });

        }); 

	</script> 
    <link href="/a/css/styles.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        
    </style>
</head>
<body>
        [%include:/a/html/header.htm%]

        <div id="Main">
            <div id="Box" class="middle  ui-corner-all">

                <div class="content">

                <h1>Your [%UTablename%] Profile</h1>

                <p>
                    Fill out a quick profile. Students choose classes based on their needs, and the quality of the [%UTablename%]. Attract students to your classes by ensuring you have a compelling profile.
                </p> 

                <form class="formLayout " id="[%utablename%]_Form" action="" method="post">

                [%notification%]

                <br /> 

			   
			        <fieldset id="job_info">						
				        <ul>
                            [%formli%]
					    </ul>
			        </fieldset><!--end job info-->

			        							
			        <ul>
				        <li><label><span id="errors" class="hidden">Please correct errors</span></label><a href="#" onclick="OWC.SubmitForm(this); return false;" class="submit">Save</a></li>
			        </ul>
		        </form>

            </div>
        </div>
    </div>
        
    [%include:/a/html/footer.htm%]

</body>
</html>
